package cn.itsource.desktop.pojo.param;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@Builder
public class LoginFound {
    private Long id;
    @NotEmpty(message = "用户名不能为空")
    private String username;
    private String password;
    @NotNull(message = "类型不能为空")
    private Integer type;
    private String openId;
    @NotEmpty(message = "手机号不能为空")
    private String phone;

}
